package com.neuedu.shop.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.shop.entity.User;
import com.neuedu.shop.entity.request.PageParam;
import com.neuedu.shop.entity.request.RequestUser;
import com.neuedu.shop.entity.request.UserLogin;
import com.neuedu.shop.entity.vo.UserVO;

import java.util.List;

public interface UserService extends IService<User>{
    /**
     * 注册：
     */
    boolean register(User user);

    boolean login(UserLogin user);

    IPage<UserVO> getUsers(RequestUser requestUser);
}
